package com.ruoyi.finances.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 收支管理对象 tb_trading
 * 
 * @author 阿飞
 * @date 2024-11-13
 */
public class TbTrading extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 支出编号 */
    @Excel(name = "支出编号")
    private Long tradingTypeId;

    /** 支出名称 */
    @Excel(name = "支出名称")
    private String tradingTypeName;

    /** 搜索关键字 */
    @Excel(name = "搜索关键字")
    private String keyword;

    /** 关联现金流 */
    @Excel(name = "关联现金流")
    private String cashFlow;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTradingTypeId(Long tradingTypeId) 
    {
        this.tradingTypeId = tradingTypeId;
    }

    public Long getTradingTypeId() 
    {
        return tradingTypeId;
    }
    public void setTradingTypeName(String tradingTypeName) 
    {
        this.tradingTypeName = tradingTypeName;
    }

    public String getTradingTypeName() 
    {
        return tradingTypeName;
    }
    public void setKeyword(String keyword) 
    {
        this.keyword = keyword;
    }

    public String getKeyword() 
    {
        return keyword;
    }
    public void setCashFlow(String cashFlow) 
    {
        this.cashFlow = cashFlow;
    }

    public String getCashFlow() 
    {
        return cashFlow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tradingTypeId", getTradingTypeId())
            .append("tradingTypeName", getTradingTypeName())
            .append("keyword", getKeyword())
            .append("cashFlow", getCashFlow())
            .toString();
    }
}
